<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ProductsViewModel>" %>
<%@ Import Namespace="Quickie.Controllers"%>
<%@ Import Namespace="Microsoft.Web.Mvc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Proizvodi - Kategorije
</asp:Content>  

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<!-- Menu kategorije -->

<div class="box box-25 .altbox">
	<div class="boxin">
		<div class="header">
			<h3>Kategorije</h3>            
		</div>		
        <div class="content">
            <% Html.RenderAction<CategoryController>(x => x.SubMenu(Model.CategoryID));  %>
            <br />
            <% Html.RenderAction<CategoryController>(x=>x.MainMenu());  %>            
        </div>
    </div>
</div>

<!-- Proizvodi iz kategorije  -->

<div class="box box-75 altbox">
	<div class="boxin">
		<div class="header">
			<h3><%= Model.Title %></h3>            
		</div>		
        <div class="content">
            <% Html.RenderPartial("ListProducts",Model.Products ); %>
        </div>
    </div>
</div>


</asp:Content>
